<template>
  <div class="dashboard-container">
    <div class="app-container">
      <el-card shadow="never">
        <!-- 组题列表 -->
        <el-table :data="randoms" style="width: 100%">
          <el-table-column prop="userName" label="日期" width="180">
          </el-table-column>
          <el-table-column prop="name" label="姓名" width="180">
          </el-table-column>
          <el-table-column prop="address" label="地址"> </el-table-column>
        </el-table>
      </el-card>
    </div>
  </div>
</template>

<script>
import { randoms } from '../../api/hmmm/questions'
export default {
  data () {
    return {
      randoms: [],
      page: 1
    }
  },
  async created () {
    await this.randomslist()
  },
  methods: {
    async randomslist () {
      const res4 = await randoms({ page: 1 })
      this.randoms = res4.data.items
      // console.log(res4.data.items)
    }
  }

}
</script>

<style scoped></style>
